#include "IOParams.h"

IOParams::IOParams(int argc, char **argv){
  this->N = atoi(argv[1]); //40
  this->T1=atof(argv[2]);//4.0;
  this->T2=atof(argv[3]);//10.0;
  this->total_time = atoi(argv[4]);
  
  this->eps = 1.0;
//  this->inpfilename(argv[5]);

  string strN(argv[1]);
  string strT1(argv[2]);
  string strT2(argv[3]);
  
  this->outfilename ="N_"+strN+"__T1_"+strT1+"__T2_"+strT2+".dat";
  this->outfilename2="N_"+strN+"__T1_"+strT1+"__T2_"+strT2+".trv";
  
//  this->sqrtT1=sqrt(T1);
//  this->sqrtT2=sqrt(T2);
  this->ttime = 0;
  this->timeDim    = 1000; //40000;
  this->taux = this->total_time/this->timeDim;
  this->other_time = 2000000;

  this->dt=0.001;
  this->dt2 = dt*dt;      
}

IOParams::~IOParams(){

}
